<!DOCTYPE html>
<html lang="en">
  <head>
    <title>CellRegistration Structure Reference</title>
    <link rel="stylesheet" type="text/css" href="../../css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="../../css/highlight.css" />
    <meta charset="utf-8">
    <script src="../../js/jquery.min.js" defer></script>
    <script src="../../js/jazzy.js" defer></script>
    
    <script src="../../js/lunr.min.js" defer></script>
    <script src="../../js/typeahead.jquery.js" defer></script>
    <script src="../../js/jazzy.search.js" defer></script>
  </head>
  <body>

    <a name="//apple_ref/swift/Struct/CellRegistration" class="dashAnchor"></a>

    <a title="CellRegistration Structure Reference"></a>

    <header class="header">
      <p class="header-col header-col--primary">
        <a class="header-link" href="../../index.html">
          Carbon Docs
        </a>
         (100% documented)
      </p>
    
      <p class="header-col--secondary">
        <form role="search" action="../../search.json">
          <input type="text" placeholder="Search documentation" data-typeahead>
        </form>
      </p>
    
        <p class="header-col header-col--secondary">
          <a class="header-link" href="https://github.com/ra1028/Carbon">
            <img class="header-icon" src="../../img/gh.png"/>
            View on GitHub
          </a>
        </p>
    
    </header>

    <p class="breadcrumbs">
      <a class="breadcrumb" href="../../index.html">Carbon Reference</a>
      <img class="carat" src="../../img/carat.png" />
      CellRegistration Structure Reference
    </p>

    <div class="content-wrapper">
      <nav class="navigation">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../../Element.html">Element</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Protocols/Component.html">Component</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Protocols/IdentifiableComponent.html">IdentifiableComponent</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Structs/AnyComponent.html">AnyComponent</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Structs/Section.html">Section</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Structs/Group.html">Group</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../../ComponentWrapper.html">ComponentWrapper</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Structs/IdentifiedComponentWrapper.html">IdentifiedComponentWrapper</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Protocols/ComponentWrapping.html">ComponentWrapping</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../../Node.html">Node</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Structs/CellNode.html">CellNode</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Structs/ViewNode.html">ViewNode</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../../Renderer.html">Renderer</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Classes/Renderer.html">Renderer</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../../Adapter.html">Adapter</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Protocols/Adapter.html">Adapter</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Classes/UITableViewAdapter.html">UITableViewAdapter</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Classes/UITableViewAdapter/CellRegistration.html">– CellRegistration</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Classes/UITableViewAdapter/ViewRegistration.html">– ViewRegistration</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Classes/UITableViewAdapter/SelectionContext.html">– SelectionContext</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Classes/UICollectionViewAdapter.html">UICollectionViewAdapter</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Classes/UICollectionViewAdapter/CellRegistration.html">– CellRegistration</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Classes/UICollectionViewAdapter/ViewRegistration.html">– ViewRegistration</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Classes/UICollectionViewAdapter/SelectionContext.html">– SelectionContext</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Classes/UICollectionViewFlowLayoutAdapter.html">UICollectionViewFlowLayoutAdapter</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../../Updater.html">Updater</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Protocols/Updater.html">Updater</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Classes/UITableViewUpdater.html">UITableViewUpdater</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Classes/UITableViewReloadDataUpdater.html">UITableViewReloadDataUpdater</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Classes/UICollectionViewUpdater.html">UICollectionViewUpdater</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Classes/UICollectionViewReloadDataUpdater.html">UICollectionViewReloadDataUpdater</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../../Interface.html">Interface</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Protocols/ComponentRenderable.html">ComponentRenderable</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Classes/UITableViewComponentCell.html">UITableViewComponentCell</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Classes/UITableViewComponentHeaderFooterView.html">UITableViewComponentHeaderFooterView</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Classes/UICollectionViewComponentCell.html">UICollectionViewComponentCell</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Classes/UICollectionComponentReusableView.html">UICollectionComponentReusableView</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../../Builder.html">Builder</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Structs/CellsBuilder.html">CellsBuilder</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Structs/SectionsBuilder.html">SectionsBuilder</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Protocols/CellsBuildable.html">CellsBuildable</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Protocols/SectionsBuildable.html">SectionsBuildable</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Extensions/Optional.html">Optional</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../../Changeset.html">Changeset</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Changeset.html#/s:6Carbon13DataChangeseta">DataChangeset</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../../Changeset.html#/s:6Carbon19StagedDataChangeseta">StagedDataChangeset</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">

        <section class="section">
          <div class="section-content">
            <h1>CellRegistration</h1>
              <div class="declaration">
                <div class="language">
                  <pre class="highlight swift"><code><span class="kd">struct</span> <span class="kt">CellRegistration</span></code></pre>

                </div>
              </div>
            <p>Registration info for table view cell.</p>

          </div>
        </section>

        <section class="section">
          <div class="section-content">
            <div class="task-group">
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Carbon18UITableViewAdapterC16CellRegistrationV5classAA19ComponentRenderable_So0bcE0CXcXpvp"></a>
                    <a name="//apple_ref/swift/Property/class" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Carbon18UITableViewAdapterC16CellRegistrationV5classAA19ComponentRenderable_So0bcE0CXcXpvp">class</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>A class for register cell conforming <code><a href="../../Protocols/ComponentRenderable.html">ComponentRenderable</a></code>.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">var</span> <span class="p">`</span><span class="nv">class</span><span class="p">`:</span> <span class="p">(</span><span class="kt">UITableViewCell</span> <span class="o">&amp;</span> <span class="kt"><a href="../../Protocols/ComponentRenderable.html">ComponentRenderable</a></span><span class="p">)</span><span class="o">.</span><span class="k">Type</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Carbon18UITableViewAdapterC16CellRegistrationV3nibSo5UINibCSgvp"></a>
                    <a name="//apple_ref/swift/Property/nib" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Carbon18UITableViewAdapterC16CellRegistrationV3nibSo5UINibCSgvp">nib</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The nib for register cell.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">nib</span><span class="p">:</span> <span class="kt">UINib</span><span class="p">?</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Carbon18UITableViewAdapterC16CellRegistrationV5class3nibAeA19ComponentRenderable_So0bcE0CXcXp_So5UINibCSgtcfc"></a>
                    <a name="//apple_ref/swift/Method/init(class:nib:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Carbon18UITableViewAdapterC16CellRegistrationV5class3nibAeA19ComponentRenderable_So0bcE0CXcXp_So5UINibCSgtcfc">init(class:nib:)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Create a new registration.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="nf">init</span><span class="p">(</span><span class="nv">class</span><span class="p">:</span> <span class="p">(</span><span class="kt">UITableViewCell</span> <span class="o">&amp;</span> <span class="kt"><a href="../../Protocols/ComponentRenderable.html">ComponentRenderable</a></span><span class="p">)</span><span class="o">.</span><span class="k">Type</span><span class="p">,</span> <span class="nv">nib</span><span class="p">:</span> <span class="kt">UINib</span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </div>
        </section>

      </article>
    </div>
    <section class="footer">
      <p>&copy; 2019 <a class="link" href="https://github.com/ra1028" target="_blank" rel="external">Ryo Aoyama</a>. All rights reserved. (Last updated: 2019-10-29)</p>
      <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.10.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
    </section>
  </body>
</div>
</html>
